package com.rabbitmq.rabbitmqextensions.constant;

public class Constants {
    public static final String ACK_QUEUE = "ack.queue";
    public static final String ACK_EXCHANGE = "ack.exchange";
    public static final String ACK_ROUTINGKEY = "ack";

    //持久化队列
    public static final String PERS_QUEUE = "pers.queue";
    //持久化交换机
    public static final String PRES_EXCHANGE = "pers.exchange";
    public static final String PERS_ROUTINGKEY = "pers";

    //非持久化队列
    public static final String NOT_PERS_QUEUE = "not.pers.queue";
    //非持久化交换机
    public static final String NOT_PERS_EXCHANGE = "not.pers.exchange";
    public static final String NPERS_ROUTINGKEY = "npers";

    //确认模式
    public static final String CONFIRM_QUEUE = "confirm.queue";
    public static final String CONFIRM_EXCHANGE = "confirm.exchange";
    public static final String CONFIRM_ROUTINGKEY = "key";

    //重试机制
    public static final String RETRY_QUEUE = "retry.queue";
    public static final String RETRY_EXCHANGE = "retry.exchange";
    public static final String RETRY_ROUTINGKEY = "retry";

    //ttl
    public static final String TTL_QUEUE1 = "ttl.queue1";
    public static final String TTL_QUEUE2 = "ttl.queue2";
    public static final String TTL_EXCHANGE = "ttl.exchange";
    public static final String TTL_ROUTINGKEY = "ttl";

    //死信
    public static final String NOR_QUEUE = "normal.queue";
    public static final String NOR_EXCHANGE = "normal.exchange";
    public static final String NOR_ROUTINGKEY = "normal";
    public static final String DL_QUEUE = "dl.queue";
    public static final String DL_EXCHANGE = "dl.exchange";
    public static final String DL_ROUTINGKEY = "dl";

    //延迟
    public static final String DELAY_QUEUE = "delay.queue";
    public static final String DELAY_EXCHANGE = "delay.exchange";
    public static final String DELAY_ROUTINGKEY = "delay";

    //事务
    public static final String TRANS_QUEUE = "trans.queue";

    //限流
    public static final String QOS_QUEUE = "qos.queue";
    public static final String QOS_EXCHANGE = "qos.exchange";
    public static final String QOS_ROUTINGKEY = "qos";
}
